package com.wl.cloud.common.annotation;

import javax.validation.Payload;
import java.lang.annotation.*;

/**
 * @author: wanglin
 * @date: 2023-07-27 周四
 * @Version: 1.0
 * @Description:
 */
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.PARAMETER, ElementType.TYPE_USE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface TestAnnotation {
    String message() default "test: 验证信息失败 ";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
